package test;

public class ThreadB extends Thread {

	//MultiThreadSet multiThreadSet = new MultiThreadSet();
	 MultiThreadSet multiThreadSet = MultiThreadSet.getInstance();
	 BatchBean a_batchExecuteBean = new BatchBean("BB");

	@Override
	public void run() {
		while (true) {
			try {
				multiThreadSet.init(a_batchExecuteBean);
				multiThreadSet.task("BB");
				// multiThreadSet.task2("BB",a_batchExecuteBean);
				// Thread.sleep(600);
			} catch (Exception e1) {
				// TODO Auto-generated catch block
				e1.printStackTrace();
			}
		}
	}
}
